package com.vecspace.middleplatform.filemanagment.pojo;

import java.util.Date;

import javax.persistence.Column;

public class UploadFileSimple {

	private String id;//仅限登录状态时访问，非登录状态用此ID不能下载文件
	private String accessId;//登录和非登录状态下均可访问文件

	private String orgFileName;
	private long fileBytes;
	private String fileExt;
	private String uploader;
	private Date uploadTime;
	private String appId;
	private Long tenantId;
	private long accessTimes;
	@Column(name="ID")
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name="ACCESS_ID")
	public String getAccessId() {
		return accessId;
	}
	public void setAccessId(String accessId) {
		this.accessId = accessId;
	}
	
	@Column(name="ORG_FILE_NAME")
	public String getOrgFileName() {
		return orgFileName;
	}
	public void setOrgFileName(String orgFileName) {
		this.orgFileName = orgFileName;
	}
	
	@Column(name="FILE_BYTES")
	public long getFileBytes() {
		return fileBytes;
	}
	public void setFileBytes(long fileBytes) {
		this.fileBytes = fileBytes;
	}
	
	@Column(name="FILE_EXT")
	public String getFileExt() {
		return fileExt;
	}
	public void setFileExt(String fileExt) {
		this.fileExt = fileExt;
	}
	
	@Column(name="")
	public String getUploader() {
		return uploader;
	}
	public void setUploader(String uploader) {
		this.uploader = uploader;
	}
	
	@Column(name="UPLOAD_TIME")
	public Date getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	
	@Column(name="APP_ID")
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	
	@Column(name="TENANT_ID")
	public Long getTenantId() {
		return tenantId;
	}
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}
	
	@Column(name="ACCESS_TIMES")
	public long getAccessTimes() {
		return accessTimes;
	}
	public void setAccessTimes(long accessTimes) {
		this.accessTimes = accessTimes;
	}
	
	
}
